#pragma once


// CChatServerCoordinatorDlg dialog
class CChatServerCoordinatorDoc;

class CChatServerCoordinatorDlg : public CDialog
{
	CChatServerCoordinatorDoc*		m_pChatServerDoc;
	CLogView*			m_pLogView;

	CIPAddressCtrl m_ipAddress;
	DWORD m_port;
	CListCtrl m_lobby;

	DECLARE_DYNAMIC(CChatServerCoordinatorDlg)

public:
	CChatServerCoordinatorDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CChatServerCoordinatorDlg();

// Dialog Data
	enum { IDD = IDD_DIALOG_CHATSERVER_COORDINATOR };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void	OnBnClickedButtonListen();
	virtual BOOL	OnInitDialog();
	void SetChatServerDoc(CChatServerCoordinatorDoc& chatServerDoc);
	void			SetLogView(CLogView&	logView);
	virtual BOOL	PreTranslateMessage(MSG* pMsg);
};
